package com.wing.product.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description="产线表")
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "warehouse_production_line")
public class WarehouseProductionLine extends BaseEntity<WarehouseProductionLine> {

    @TableField(value = "workshop_id")
    @Schema(description="工位id")
    private Long workshopId;

    @TableField(value = "workshop_code")
    @Schema(description="车间编号")
    private String workshopCode;

    @TableField(value = "workshop_name")
    @Schema(description="车间名称")
    private String workshopName;

    @TableField(value = "status")
    @Schema(description="状态（1: 启用, 0: 停用）")
    private Integer status;

    @TableField(value = "production_line_name")
    @Schema(description="产线名称")
    private String productionLineName;

    @TableField(value = "production_line_code")
    @Schema(description="产线编号")
    private String productionLineCode;


}
